package com.yy.wga.pay.service.client.response.wechat;

import com.yy.wga.pay.service.client.response.BasePreOrderResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @Author: gc
 * @Date: 2021/6/13
 * @Description:
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class WechatAppPreOrderResponse extends BasePreOrderResponse {
    private static final long serialVersionUID = -7020048489142763347L;

    /**
     * 应用id
     */
    private String appId;

    /**
     * 商户号
     */
    private String mchId;

    /**
     * 预支付交易会话标识。用于后续接口调用中使用，该值有效期为2小时
     */
    private String prepayId;

    /**
     * 订单详情扩展字符串
     */
    private String packageValue = "Sign=WXPay";

    /**
     * 随机字符串
     */
    private String nonceStr;

    /**
     * 时间戳
     */
    private Long timeStamp;

    /**
     * 签名
     */
    private String sign;
}
